package com.hntest.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

import com.hntest.entity.SystemDictionary;

/**
 * 数据字典目录的dao接口
 * @author ZHOU
 *
 */
@Repository("dictionaryDao")
public interface SystemDictionaryDao {

	//添加数据字典目录
	public int addDictionary(SystemDictionary dictionary);
	
	//查询数据字典目录
	public List<SystemDictionary> getAll();
	
	//分页查询数据字典目录
	public List<SystemDictionary> getListByPage(Map<String,Object> map);
	
	//查询总记录数
	public int getCount();
	
	//删除数据字典目录对象
	public int deletDictionary(@RequestParam int dictionaryId);
}
